package com.sikaryofficial.backend.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.sikaryofficial.backend.domain.dto.req.music.MusicLibraryListReq;
import com.sikaryofficial.backend.domain.dto.resp.music.MusicLibraryDTO;
import com.sikaryofficial.backend.domain.entity.Music;

/**
 * 音乐Service接口
 *
 * @author qinjinyuan
 * @date 2024-08-07
 */
public interface IMusicService extends IService<Music> {
    /**
     * 查询歌曲分类
     *
     * @param req
     * @return
     */
    IPage<MusicLibraryDTO> musicPageList(Page<MusicLibraryDTO> customerPage, MusicLibraryListReq req);

    /**
     * 查询歌曲分类
     *
     * @param req
     * @return
     */
    IPage<MusicLibraryDTO> musicBackendPageList(Page<MusicLibraryDTO> customerPage, MusicLibraryListReq req);
}
